#include<stdio.h>
int main(){
    int arr[10]= {1,2,3,4,5,6,7,8,9,10};
    int* ptr=arr;
    for(int i=0;i<10;i=i+2){
        printf("%d\n",*(ptr+i));  
    }
    return 0;
}